ga.view.appstate
Class SceneState
java.lang.Object
com.jme3.app.state.AbstractAppState
ga.view.appstate.RootNodeState
ga.view.appstate.SceneState
- All Implemented Interfaces:
- com.jme3.app.state.AppState
- Direct Known Subclasses:
- AerialEvaluationState, BillardEvaluationState, InitializerPreState, MenuState, RoomPlanner, ShowRoomState, StreamingEvaluationState, SummaryPostState
public class SceneState
- extends RootNodeState
Extended app state that creates its own viewport and stores many required
information.
- Since:
- 12.08.2012
- Author:
- Stephan Dreyer
Field Summary |
protected com.jme3.app.Application |
app
|
protected com.jme3.asset.AssetManager |
assetManager
|
protected com.jme3.renderer.Camera |
cam
|
protected com.jme3.input.InputManager |
inputManager
|
protected com.jme3.renderer.RenderManager |
renderManager
|
protected com.jme3.app.state.AppStateManager |
stateManager
|
protected com.jme3.system.Timer |
timer
|
protected com.jme3.renderer.ViewPort |
viewPort
|
Fields inherited from class com.jme3.app.state.AbstractAppState |
initialized |
Method Summary |
void |
finalCleanUp()
Should be called for the final clean up on exit. |
com.jme3.renderer.Camera |
getCamera()
Gets the camera. |
void |
initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
|
void |
setEnabled(boolean enabled)
|
Methods inherited from class com.jme3.app.state.AbstractAppState |
isEnabled, isInitialized, postRender, render, stateAttached, stateDetached |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cam
protected com.jme3.renderer.Camera cam
viewPort
protected com.jme3.renderer.ViewPort viewPort
inputManager
protected com.jme3.input.InputManager inputManager
assetManager
protected com.jme3.asset.AssetManager assetManager
stateManager
protected com.jme3.app.state.AppStateManager stateManager
renderManager
protected com.jme3.renderer.RenderManager renderManager
timer
protected com.jme3.system.Timer timer
app
protected com.jme3.app.Application app
SceneState
public SceneState()
setEnabled
public void setEnabled(boolean enabled)
- Specified by:
setEnabled
in interface com.jme3.app.state.AppState
- Overrides:
setEnabled
in class com.jme3.app.state.AbstractAppState
finalCleanUp
public void finalCleanUp()
- Should be called for the final clean up on exit.
- Since:
- 12.08.2012
initialize
public void initialize(com.jme3.app.state.AppStateManager stateManager,
com.jme3.app.Application app)
- Specified by:
initialize
in interface com.jme3.app.state.AppState
- Overrides:
initialize
in class com.jme3.app.state.AbstractAppState
getCamera
public com.jme3.renderer.Camera getCamera()
- Gets the camera.
- Returns:
- the camera